import java.util.Scanner;

public class Five {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("高");
        int h = in.nextInt();
        for (int i = 1; i <= h; i++) {
            for (int j = 1; j <= h - i; j++) {
                System.out.print(" ");
            }
            for (int a = 1; a <= i * 2 - 1; a++){
                if (i ==1 || i == h) {
                    System.out.print("*");
                } else {
                    if (a ==1 || a == 2 * i-1) {
                        System.out.print("*");
                    } else {
                        System.out.print(" ");
                    }
                }
            }
            System.out.println();
        }
    }
}
